package com.face.server.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.List;

/**
 * 配置摄像头启动参数
 */
@Document
@Data
public class GlobalConfig extends Entity {

    private Date studentStartTime;

    private Date studentEndTime;

    private Date visitorStartTime;

    private Date visitorEndTime;

    private Date adminStartTime;

    private Date adminEndTime;

    private Date dorAdminStartTime;

    private Date dorAdminEndTime;

    // 关系
    private List<String> relations;

    // 楼幢数
    private int totalBuilding;

    // 一间多少人
    private int perNumRoom;

    private int limit;
}
